<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link href="../css/bootstrap/bootstrap.min.css" rel="stylesheet">
<link href="../css/bootstrap/customOA.css" rel="stylesheet">
<link href="../css/fullcalendar/fullcalendar.min.css" rel="stylesheet">


<div class="easyui-layout" data-options="fit:true,border:false">
			<div data-options="region:'center',border:false" style="overflow: hidden;padding: 10px;">
				<div class="edit-btn" style="height:auto;margin-right:0px">
					<div/>
			</div>
  		<form method="post" class="main-form">			 	 	
		    <fieldset>		
				<table>
					<tr>
					<th>会议时间</th>
					<td colspan="3"><input name="start_room_time" id="start_room_time" class="easyui-datetimebox easyui-validatebox" style="width:200px" type="text" data-options="editable:false" />
					----&nbsp<input name="end_room_time" id="end_room_time" class="easyui-datetimebox easyui-validatebox" style="width:200px" type="text" data-options="editable:false" /></td>
					</tr>
				</table>
			</fieldset>
			<input name="id" id="id"  type="hidden"/>		
			<input name="created" id="created"  type="hidden"/>
			<input name="creater" id="creater"  type="hidden"/>	
		</form>
</div>
<script>
requirejs(['domReady!'],function(doc){
		require(['fullcalendar','fullcalendar_zh-cn','sysmanMain','msgServ','deptUserSelect','buttonEvent','datagridServ'],
		
			_moduleConfig = sysmanMain.getCurrentModuConfig();				
			var _tab = sysmanMain.getCurrentTab();
			$grid = $('#' + _moduleConfig.rootId +" table.dg-list");		
		
		//定位列表页面
		var $grid = $("#panel-oa-conferenceroom-show table.dg-list")
		
		$form = $("#oa-conferenceroomapply-win-show form.main-form")
		$form.form('clear')
		
		/*******初始化列表  数据、按钮***********/
		//初始化操作按钮
		var listTd =  $("#panel-oa-conferenceroom-show list-btn")
		
		//初始化datagrid，加载数据
		var _param = {
				rownumbers:true,
				pagination:true,
				animate: true,
				idField: 'id',				
				striped:true,
				border:true,			
				//singleSelect : true,
				fitColumns: true,
				checkOnSelect:true,
				selectOnCheck:true,
				toolbar:$(listTd)
				//title:_moduleConfig.name
			}
		$grid.datagrid(_param);
		$.messager.progress('close');
	});
});
</script>
